import { createRouter, createWebHashHistory } from 'vue-router'
import Index from '../views/Index.vue'
import Home from '@/views/Home.vue'

import Constitution from '@/views/Constitution.vue'
import Tea from '@/views/Tea.vue'
import Test from '@/views/Test.vue'
import Physique from '@/views/Physique.vue'
import TeaBrewing from '@/components/TeaBrewing.vue'
import WuXingChart from '@/views/WuXingChart.vue'
import TeaDashboard from '@/views/TeaDashboard.vue'
import { componentSizeMap } from 'element-plus'
const routes = [
  {
    path: '/',
    name: 'home',
    component: Home
  },{
    path: '/index',
    name: 'index',
    component: Index
  },{
    path: '/constitution',
    name: 'constitution',
    component: Constitution
  },{
    path: '/tea',
    name: 'tea',
    component: Tea
  },{
    path: '/test',
    name: 'test',
    component: Test
  },{
    path: '/teaDashboard',
    name: 'teaDashboard',
    component: TeaDashboard
  },{
    path:'/physique',
    name: 'physique',
    component: Physique
  },{
    path: '/wuXingChart',
    name:'wuXingChart',
    component: WuXingChart
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
